package com.example.lib_http

import com.zyj.retrofit.adapter.FlowCallAdapterFactory
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory

class NoneRetrofieImpl:BaseRetrofitImpl() {
    override fun createRetrofit(): Retrofit {
        val retrofit=Retrofit.Builder()
            .baseUrl(Concast.BASE_URL)
            .client(createOkHttpBuilder().build())
            .addConverterFactory(GsonConverterFactory.create())
            .addCallAdapterFactory(FlowCallAdapterFactory.create())
            .build()
        return retrofit
    }
}